#ifndef GraphicsPathItem___H
#define GraphicsPathItem___H

#include <QGraphicsPathItem>
#include <QPainterPath>
#include <QPainter>
#include <QStyleOptionGraphicsItem>

class GraphicsPathItem : public QGraphicsPathItem
{
public:
	GraphicsPathItem();
	~GraphicsPathItem();
	int  get_contour_id() const;
	void set_contour_id(int);
	int  get_roi_id() const;
	void set_roi_id(int);
	long get_tmp_id() const;
	void set_tmp_id(long);
	int  get_axis() const;
	void set_axis(int);
	int  get_slice() const;
	void set_slice(int);
	int  get_type() const;
	void set_type(int);
	QPainterPath shape() const;
	void paint(QPainter*, const QStyleOptionGraphicsItem*, QWidget*);
private:
	int  contour_id;
	int  roi_id;
	long tmp_id;
	int  axis;
	int  slice;
	// 1 - closed planar
	// 2 - open planar
	int  contour_type;
};

#endif // GraphicsPathItem___H
